//
//  MineCollectCell.m
//  cityCar
//
//  Created by yao on 14-11-7.
//  Copyright (c) 2014年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "MineCollectCell.h"

@implementation MineCollectCell

- (void)dealloc
{
    [_myImageView release];
    [_myLabel release];
    [super dealloc];
}

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
        
        self.myImageView = [[UIImageView alloc] init];
        [self.contentView addSubview:self.myImageView];
        [_myImageView release];
        
        self.myLabel = [[UILabel alloc] init];
        [self.contentView addSubview:self.myLabel];
        [_myLabel release];
        
    }
    return self;
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    self.myImageView.frame = CGRectMake(20, 5, 70, self.contentView.frame.size.height - 10);
    self.myLabel.frame = CGRectMake(100, 5, self.contentView.frame.size.width - 110, self.contentView.frame.size.height - 10);
    self.myLabel.numberOfLines = 0;
}


- (void)awakeFromNib
{
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];
    
    // Configure the view for the selected state
}

@end
